import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);
const routes =[
    {
        path: "/energy",
        name: "Energy",
        component: () => import("../views/energy-page")
    }
]
const router = new VueRouter({
    mode: "history",
    routes
  });
   
  export default router;